<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>修改头像</title>
    <link rel="stylesheet" type="text/css" href="common/layui/css/layui.css" media="all">
    <link rel="stylesheet" type="text/css" href="common/bootstrap/css/bootstrap.css" media="all">
    <link rel="stylesheet" type="text/css" href="common/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="css/personal.css" media="all">
    <!-- 加载js文件-->
    <script type="text/javascript" src="common/layui/layui.js"></script>
    <script type="text/javascript" src="js/larry.js"></script>
    <script type="text/javascript" src="js/index.js"></script>
    <script type="text/javascript" src="common/bootstrap/js/jquery-1.10.2.min.js"></script>
    <script src="common/bootstrap/js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
    <!-- load css -->
    <link rel="stylesheet" type="text/css" href="common/layui/css/layui.css" media="all">
    <link rel="stylesheet" type="text/css" href="common/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="css/adminstyle.css" media="all">
</head>
<body>
<div class="container">
    <div class="panel panel-default">
        <div class="panel-heading">
            修改头像
        </div>
        <div class="panel-body">
            <form id="form-change-avatar" class="form-horizontal " action="" method="post">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">头像：*</label>
                        <div class="col-sm-8">
                            <img id="img-avatar" src="" width="200px;" title="请选择,要做为头像的图片 "/>
                            <input type="file" id="avatar" class="form-control" name="file"
                                   title="请选择所,做为头像的图片 " style="height: 40px;"/>
                            <div class="col-sm-6">
                                <button type="button" id="btn-change-avatar" class="btn btn-primary">提交</button>
                                <a type="button" href="javascript:history.back()" class="btn btn-primary">返回</a>
                            </div>
                        </div>

                    </div>
                </div>
            </form>
        </div>
    </div>
    <!-- /header -->
</div>
<script type="text/javascript" src="js/uploadAvatar.js"></script>
</body>
</html>